use pkcs8::der::DateTime;
#[derive(Debug)]
pub  struct Device{
    pub(crate) id:u16,
    pub(crate) ip:String,
    pub(crate) port:u16,
    pub(crate)slave_id : u8,
    pub(crate)create_user :u32,
    // pub(crate)create_time: DateTime,
    // pub(crate)last_update_time:DateTime,
    pub(crate)last_update_user:u32
}